package com.easylinkin.linkappapi.positioning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.device.entity.Device;
import com.easylinkin.linkappapi.positioning.entity.MonitorMapStatistics;
import com.easylinkin.linkappapi.positioning.entity.QueryMonitorMap;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/6/25 16:28
 */
public interface MonitorMapMapper extends BaseMapper<Device> {

    /**
     * 定位监控--设备列表
     * @param queryMonitorMap
     * @return
     */
    List<Device> getDeviceList(@Param("qmm") QueryMonitorMap queryMonitorMap);

    MonitorMapStatistics getStatisticsInfo(QueryMonitorMap queryMonitorMap);
}
